import React from "react";
import { Routes, Route } from 'react-router-dom';

 import Home from '@/pages/Home'
// 为何要做路由的封装呢？
    // 方便管理
    // 架构清晰
export default () => {
    return (
        <>
            <Routes>
                <Route path="/" element={<Home />}></Route>
            </Routes>
        </>
    )
}

